package observer;

public class Fahter implements Observer<Child>{
    @Override
    public void call(Events <Child>events) {
        try {

            System.out.println("father");
            System.out.println(events.getSource().isCry());
        }catch (Exception e){

        }
    }
}
